/**
 *
 * The <code>Material</code> class is the Base class for all 3D Material
 * 
 * @author Tiago Diaz, tiagoadp@gmail.com
 * @release 21/11/2009
 * @version 1.0
 * 
 */

package org.flash3d.core.materials
{
	public class Material implements Imaterial
	{
		
		protected var _material:Object = new Object();
		
		public function Material()
		{
			
		}
		
		public function set mat(_mat:Object):void
		{
			_material = _mat;
		}
		public function get mat():Object
		{
			return _material;
		}
		
		public function set name(_string:String):void
		{
			_material.name = _string;
		}
		public function get name():String
		{
			return _material.name;
		}
		
	}
}